﻿namespace WriterStars.Model
{
    public class Like : IEntity
    {
        public Like()
        {
        }

        public int Id { get; set; }

        public string UserId { get; set; }

        public virtual User User { get; set; }

        public LikeStatus Status { get; set; }

        public int BookId { get; set; }

        public virtual Book Book { get; set; }
    }

    public enum LikeStatus
    {
        UpVote = 1,
        DownVote = -1
    }
}
